import React, { Component } from 'react';
import { Route, Switch } from 'react-router-dom';
import Page1 from './Page1';
import Page2 from './Page2'

class ShopCategoryMain extends Component {
  render() {
    return (
      <div>
        <Switch>
          <Route path="/goodscategory/page1" component={ Page1 } />
          <Route path="/goodscategory/page2" component={ Page2 } />
        </Switch>
      </div>
    )
  }
}

export default ShopCategoryMain;
